#ifndef __IR_H__
#define __IR_H__

#define ir_power          0x45
#define ir_MODE           0x46
#define ir_MUTE           0x47
#define ir_START_STOP     0x44
#define ir_PREVIOUS       0x40
#define ir_NEXT           0x43
#define ir_EQ             0x07
#define ir_VOL_MINUS      0x15
#define ir_VOL_ADD        0x09
#define ir_0              0x16
#define ir_RPT            0x19
#define ir_USD            0x0D
#define ir_1              0x0C
#define ir_2              0x18
#define ir_3              0x5E
#define ir_4              0x08
#define ir_5              0x1C
#define ir_6              0x5A
#define ir_7              0x42
#define ir_8              0x52
#define ir_9              0x4A

void ir_init();
unsigned char ir_getdataflag();
unsigned char ir_getrepeatflag();
unsigned char ir_getaddress();
unsigned char ir_getcommand();



#endif